#ifndef HUF_H
#define HUF_H

#include "fifo.h"
#include "my_types.h"

void huf_init();
void huf_l_run (fifo<D_QUANT_OUT> *IN, fifo<D_HUF_VAL> *OUTVAL, fifo<D_HUF_BITS> *OUTBITS);
void huf_cr_run(fifo<D_QUANT_OUT> *IN, fifo<D_HUF_VAL> *OUTVAL, fifo<D_HUF_BITS> *OUTBITS);
void huf_cb_run(fifo<D_QUANT_OUT> *IN, fifo<D_HUF_VAL> *OUTVAL, fifo<D_HUF_BITS> *OUTBITS);

#endif
